package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwMtr;
import com.tjmc.tiomscore.model.TranPtnHwMtrExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwMtrMapper extends TranPtnHwSuperMapper<TranPtnHwMtr> {
    long countByExample(TranPtnHwMtrExample example);

    int deleteByExample(TranPtnHwMtrExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwMtr record);

    int insertSelective(TranPtnHwMtr record);

    List<TranPtnHwMtr> selectByExample(TranPtnHwMtrExample example);

    TranPtnHwMtr selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwMtr record, @Param("example") TranPtnHwMtrExample example);

    int updateByExample(@Param("record") TranPtnHwMtr record, @Param("example") TranPtnHwMtrExample example);

    int updateByPrimaryKeySelective(TranPtnHwMtr record);

    int updateByPrimaryKey(TranPtnHwMtr record);
}